{include file="header" title="YunCMS后台管理系统" keywords="" description=""/}
<div class="content-page">
    <div class="am-container">
        <div class="page-title"><h1 class="am-inline">留言列表</h1>
        </div>
        <table class="am-table">
            <thead>
            <tr>
                <th>昵称</th>
                <th>手机</th>
                <th>邮箱</th>
                <th>标题</th>
                <th>留言时间</th>
                <th width="100">操作</th>
            </tr>
            </thead>
            <tbody>
            {volist name='list' id='guestbook'}
            <tr>
                <td>{$guestbook.nickname}</td>
                <td>{$guestbook.phone}</td>
                <td>{$guestbook.email}</td>
                <td>{$guestbook.guestbook_title}</td>
                <td>{$guestbook.create_time}</td>
                <td>
                    <div class="am-btn-group am-btn-group-xs">
                        <a href="<?= URL('/admin/guestbook/viewer',array('id'=>$guestbook['guestbook_id']));?>" class="am-btn am-btn-primary am-radius"><i class="am-icon-eye"></i></a>
                        <a href="<?= URL('/admin/guestbook/remove',array('id'=>$guestbook['guestbook_id']));?>" class="am-btn am-btn-primary am-radius"><i class="am-icon-trash"></i></a>
                    </div>
                </td>
            </tr>
            {/volist}
            </tbody>
        </table>
        {$page}
    </div>
</div>
{include file="footer" /}
